<template>
  <div class="unavailable-container">
      <div class="unavailable">
          <!-- <img src="@/assets/img/unavailable.png"> -->
          <span>{{ tip || '链接已失效' }}</span>
      </div>
  </div>
</template>

<script>
export default {
  name: 'Unavailable',
  props: {
      tip: String
  }
};
</script>

<style lang="less" scoped>
.unavailable-container {
flex-grow: 1;
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
.unavailable {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--color-text-primary);
  font: var(--subtitle-medium);
  > img {
    height: 160px;
    width: 160px;
  }
}
}
</style>